<section class="title">
	<h4><?php echo lang('escort_message_create_title'); ?></h4>
</section>

<section class="item">
	
<?php echo form_open(uri_string(), 'class="crud"'); ?>
<div class="form_inputs" id="message-form">
	<fieldset>
		<ul>
			<li class="odd">
				<label for="solver_permission_slug"><?php echo lang('escort_thread_to_label'); ?></label>
				<div class="inputs">
				<?php echo form_dropdown('escort_id', $escortList, $post->escort_id); ?>
				</div>
			</li>
			<li class="even">
				<label for="solver_permission_slug"><?php echo lang('escort_thread_solver_label'); ?></label>
				<div class="inputs">
				<?php echo form_dropdown('solver_permission_slug', $groupArray, $post->solver_permission_slug); ?>
				</div>
			</li>
			<li class="odd">
				<label for="news"><?php echo lang('escort_thread_message_label'); ?></label>
				<br style="clear:both"/>
				<?php echo form_textarea(array('id' => 'message', 'name' => 'message', 'value' => $post->message, 'rows' => 4)); ?>
			</li>
		</ul>
	</fieldset>
</div>
<div class="buttons float-right padding-top">
<?php $this->load->view('admin/partials/buttons', array('buttons' => array('save', 'cancel'))); ?>
</div>
<?php echo form_close(); ?>
</section>